Skip to content

fix: bump Tempo deps and validate fork schedule compatibility#14481

Closed
0xrusowsky wants to merge 4 commits intofoundry-rs:masterfrom
0xrusowsky:rus/bump-tempo
Closed

fix: bump Tempo deps and validate fork schedule compatibility#14481
0xrusowsky wants to merge 4 commits intofoundry-rs:masterfrom
0xrusowsky:rus/bump-tempo

Conversation

@0xrusowsky
Copy link
Copy Markdown
Contributor

Summary

  • bump the pinned tempoxyz/tempo workspace deps to 8bd4d01d37e3cc324030baacbce2da0862d7735a
  • add a cast integration test that calls tempo_forkSchedule on configured Tempo RPCs and parses the response with TempoHardfork
  • run that compatibility check in ci-tempo before the script-based Tempo checks

Context

Older Foundry Tempo pins only knew hardforks through T4. When a node reports active: "T5", is_hardfork_active(T3) can silently return false, which causes cast keychain to choose the legacy authorize selector on T3+ chains.

The new integration test makes that mismatch obvious by failing as soon as a configured Tempo RPC reports a fork name this Foundry pin cannot parse.

Verification

  • cargo check -p cast -p anvil -p forge --locked
  • TEMPO_MAINNET_RPC_URL=https://rpc.tempo.xyz TEMPO_TESTNET_RPC_URL=https://rpc.moderato.tempo.xyz cargo test --locked -p cast --test cli tempo_fork_schedule_parses_configured_rpcs -- --exact --nocapture

@0xrusowsky
Copy link
Copy Markdown
Contributor Author

Superseded by #14485 (re-opened from an upstream branch so the ci-tempo job can access repository secrets — see https://github.com/foundry-rs/foundry/actions/runs/25051145675/job/73378970641?pr=14481).

@0xrusowsky 0xrusowsky closed this Apr 28, 2026
@github-project-automation github-project-automation Bot moved this to Done in Foundry Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant